package com.th.therp.service;

import com.th.therp.pojo.emtity.MaterialCategory;

import java.util.List;

public interface MaterialCategoryService {

    List<MaterialCategory> list();

    void add(MaterialCategory materialCategory);

    void update(MaterialCategory materialCategory);

    void delete(List<Integer> ids);

    //根据id查找分类名称
    String findCategoryNameById(Integer categoryId);
}
